package com.ql.gamelogm.repository;

import com.ql.gamelogm.entities.DataLog;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.Date;
import java.util.List;

public interface DataLogRepository extends ElasticsearchRepository<DataLog,Long> {
    //通过游戏人物名称和时间区间查找
    public List<DataLog> findByGamernameAndDateBetween(String gamername,Long fdate,Long ldate);
    //通过游戏人物行为和时间区间查找
    public List<DataLog> findByItemnameAndDateBetween(String action,Long fdate,Long ldate);

}
